#ifndef EDITTEACH_H
#define EDITTEACH_H

#include <QWidget>

class Widget;   //声明父窗口类

namespace Ui {
class EditTeach;
}

class EditTeach : public QWidget
{
    Q_OBJECT

public:
    enum EditDialogSwitch{
        CondSel_id=0,   //条件选择
        AxisSelCmp_id,    //轴选择比较
        VarCmp_id,  //变量比较
    };

public:
    explicit EditTeach(QWidget *parent = nullptr);
    ~EditTeach();

    void switchDialog(const int dialogID);

private:
    Ui::EditTeach *ui;

    Widget *pWidget;    //创建父类窗口指针
};

#endif // EDITTEACH_H
